{  Statement: http://acmp.ru/?main=task&id_task=534
   Verdict: Accepted
}
var
    i,n,m,k:longint;
    a:array[0..110] of longint;
    
begin
reset(input,'input.txt');
rewrite(output,'output.txt');
read(n);
for i := 1 to n do
    read(a[i]);
read(m);
for i := 1 to m do begin
    read(k);
    dec(a[k]);
end;
for i := 1 to n do
    if a[i] >= 0 then writeln('no') else writeln('yes');
end.